﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Streaming_Service.Enum {
    using System.Runtime.Serialization;

    [DataContract(Name = "UserReturnCode")]
    public enum UserReturnCode {
        [EnumMember]
        Failure = 0,
        [EnumMember]
        Success = 1,
        [EnumMember]
        EmailInUse = 2,
        [EnumMember]
        InvalidName = 3,
        [EnumMember]
        InvalidPassword = 4,
        [EnumMember]
        InvalidBirthday = 5,
        [EnumMember]
        InvalidEmail = 6,
        [EnumMember]
        InvalidUserSpecified = 7,
        [EnumMember]
        NothingToUpdate = 8,
        [EnumMember]
        InvalidSession = 9,
        [EnumMember]
        AdminRequired = 10
    }
}